package com.iakuil.app.service.converter;

import com.iakuil.app.common.core.DefaultConverterConfig;
import com.iakuil.app.domain.entity.Press;
import com.iakuil.app.domain.dto.PressDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.core.convert.converter.Converter;

/**
 * 出版社转换器
 *
 * @author Kai
 * @date 2023-12-06
 **/
@Mapper(config = DefaultConverterConfig.class)
public interface PressToPressDtoConverter extends Converter<Press, PressDto> {
    PressToPressDtoConverter INSTANCE = Mappers.getMapper(PressToPressDtoConverter.class);
}
